
#include "suboperation.h"


SubOperation::SubOperation()
{

}

SubOperation::SubOperation(int num_1,int num_2):Operation(num_1,num_2)
{

}

int SubOperation::getResult()
{
    int result =0;
    result = this->getNum_1()-this->getNum_2();
    return result;
}
